﻿<%@ Page Language="VB" MasterPageFile="~/Pages/Site.master" AutoEventWireup="false"
    CodeFile="School.aspx.vb" Inherits="Pages_School" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="wrapper">
        <asp:Panel ID="pnlNews" runat="server">
            <asp:Label ID="lblHeader" runat="server" /><br />
            <asp:Label ID="lblText" runat="server" /><br />
            <asp:Label ID="lblDate" runat="server" />
        </asp:Panel>
        <asp:Repeater ID="rptNews" runat="server">
            <ItemTemplate>
                <div class="<%#DataBinder.Eval(Container.DataItem, "NewsName")%>">
          
                    <div class="NewsInformation">
                        Sektion:
                        <%#DataBinder.Eval(Container.DataItem, "NewsName")%><br />
                        Rubrik:
                        <%#DataBinder.Eval(Container.DataItem, "Header")%><br />
                        Texten:
                        <%#DataBinder.Eval(Container.DataItem, "ShortTexten")%><br />
                        Datum:
                        <%#DataBinder.Eval(Container.DataItem, "DateNews")%><br />
                        <asp:HyperLink ID="hplReadMore" runat="server" Text="Läs mer..." />
                    </div>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
</asp:Content>
